<extend name="Base/common"/>
<block name="style">
    <style type="text/css">
        .weui-cell_access .weui-cell__ftnone:after{border-style:none;}
    </style>
</block>
<block name="body">
    <div class="weui-cells">
        <div class="weui-cell">
            <div class="weui-cell__bd">
                <p>院校名称</p>
            </div>
            <div class="weui-cell__ft">{$info.schoolName}</div>
        </div>
        <div class="weui-cell">
            <div class="weui-cell__bd">
                <p>真实姓名</p>
            </div>
            <div class="weui-cell__ft">{$info.name}</div>
        </div>
        <div class="weui-cell">
            <div class="weui-cell__bd">
                <p>入学日期</p>
            </div>
            <div class="weui-cell__ft">{$info.timeEnrollment}</div>
        </div>
        <div class="weui-cell">
            <div class="weui-cell__bd">
                <p>出生日期</p>
            </div>
            <div class="weui-cell__ft">{$info.dateBirth}</div>
        </div>
        <div class="weui-cell">
            <div class="weui-cell__bd">
                <p>身份证号</p>
            </div>
            <div class="weui-cell__ft">{$info.identityNo}</div>
        </div>

        <div class="weui-cell">
            <div class="weui-cell__bd">
                <p>认证状态</p>
            </div>
            <div class="weui-cell__ft">{:C('QIANBAO_AUTH_STATUS.'.$info[status])}</div>
        </div>
    </div>

    <div class="page__bd page__bd_spacing" style="padding-top: 1em;">
        <if condition="$info[status] eq 0">
            <form class="formtijiao" action="{:U('')}" method="post">
            <button class="weui-btn weui-btn_primary" type="button">确定验证</button>
            </form>
        </if>
    </div>
</block>
<block name="script">
    <script >
        Zepto(function($){
            $('.weui-btn').click(function(){

                app.AjaxSubmit('.formtijiao',function(data){
                    if(data.status==true){
                        popup.alert(data.info,data.url);
                    }else{
                        popup.alert(data.info);
                    }
                });
            }) ;
        });

    </script>

</block>